package com.OrderingServer.service;

import com.OrderingServer.dto.OrderDTO;
import com.OrderingServer.pojo.OrderMaster;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xingo
 * @since 2025-08-13
 */
public interface IOrderMasterService extends IService<OrderMaster> {
    public OrderDTO createOrder(OrderDTO orderDTO);
    public PageInfo<OrderMaster> selectPage(Integer pageNum, Integer pageSize, String buyerName);
    List<OrderDTO> findlist(String openid);
   OrderDTO  findOrderInfo(String openid,String orderid);
    OrderDTO  buyercancel(String openid,String orderid);
}
